package com.lihepeng.leecode.jvm;

/**
 * 验证类加载顺序
 */
public class JVMBasicTest02 {
    private static int a = 0;
    private static int b;
    private JVMBasicTest02() {
        a++;
        b++;
    }
    private static JVMBasicTest02 jvmBasicTest02 = new JVMBasicTest02();
    public static JVMBasicTest02 getInstance() {
        return jvmBasicTest02;
    }
    public int getA() {
        return a;
    }
    public int getB() {
        return b;
    }
}
